﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using System.Net.Sockets;

namespace Chat_Server_TCP
{
    class User
    {
        public string username;

        public TcpClient client;

        public bool banned;

        public User(string name, TcpClient cl)
        {
            username = name;
            client = cl;
            banned = false;
        }

        /*
        public void toBan()
        {
            banned=true;
        }

        public bool isBanned()
        {
            if (banned)
                return true;
            else
                return false;
        }
        */
    }


}
